import {UserVo} from "@/api/sys/admin/user/types";
import {MenuVo} from "@/api/sys/admin/menu/types";

/**
 * 角色table列表
 */
export type RoleVo = {
    id: number,
    name: string,
    code: string,
    sort?: number,
    status?: number,
    remark?: string,
    users?:UserVo
    menus?:MenuVo[]
}


/**
 * 角色表单数据
 */
export type RoleFormType = Partial<RoleVo>